/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package jp.co.irep.juten.view;

import java.io.Serializable;
import java.util.List;
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;
import jp.co.irep.juten.entity.Template;
import jp.co.irep.juten.utils.Consts;

/**
 *
 * @author giang_le
 */
@Named
@SessionScoped
public class TemplateViewBean implements Serializable{
    
    private Template selectedTemplate;
    private List<Template> templateList;
    private String templateName;
    private String templateHtml;
    private String templateMemo;
    private boolean templateDelFlg;
    private int templateId;
    
    private List<String> DELETE_FLG_LIST = Consts.DELETE_FLG;

    public Template getSelectedTemplate() {
        return selectedTemplate;
    }

    public void setSelectedTemplate(Template selectedTemplate) {
        this.selectedTemplate = selectedTemplate;
    }
    
    public List<Template> getTemplateList() {
        return templateList;
    }

    public void setTemplateList(List<Template> templateList) {
        this.templateList = templateList;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getTemplateHtml() {
        return templateHtml;
    }

    public void setTemplateHtml(String templateHtml) {
        this.templateHtml = templateHtml;
    }

    public String getTemplateMemo() {
        return templateMemo;
    }

    public void setTemplateMemo(String templateMemo) {
        this.templateMemo = templateMemo;
    }

    public boolean getTemplateDelFlg() {
        return templateDelFlg;
    }

    public void setTemplateDelFlg(boolean templateDelFlg) {
        this.templateDelFlg = templateDelFlg;
    }

    public int getTemplateId() {
        return templateId;
    }

    public void setTemplateId(int templateId) {
        this.templateId = templateId;
    }

    public List<String> getDELETE_FLG_LIST() {
        return DELETE_FLG_LIST;
    }

    public void setDELETE_FLG_LIST(List<String> DELETE_FLG_LIST) {
        this.DELETE_FLG_LIST = DELETE_FLG_LIST;
    }
    
    
    
}
